package cn.itsource.exam.query;

/**
 * Created by su on 2020/7/8.
 */
public class ClassInfoQuery {

    private Long currentPage = 1L;
    private Long pageSize = 10L;
    private String classname;

    public Long getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Long currentPage) {
        this.currentPage = currentPage;
    }

    public Long getPageSize() {
        return pageSize;
    }

    public void setPageSize(Long pageSize) {
        this.pageSize = pageSize;
    }

    public Long getStart(){
        return (currentPage-1)*pageSize;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }
}
